# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=pdfbook-analyzer
pkgver=2
pkgrel=8
epoch=1
groups=('blackarch' 'blackarch-forensic')
pkgdesc='Utility for facebook memory forensics.'
arch=('any')
url='http://sourceforge.net/projects/pdfbook/'
license=('GPL2')
depends=('python2')
makedepends=('git')
source=("$pkgname::git+http://git.code.sf.net/p/pdfbook/code")
sha512sums=('SKIP')

prepare() {
  cd $pkgname

  sed -i 's/env python/env python2/' pdfbook.v2.py
}

package() {
  cd $Pkgname

  install -Dm 755 pdfbook.v2.py "$pkgdir/usr/bin/$pkgname"
}

